Beni Ansar or Aït Nsar (Arabic: بن انصار)is a town in Nador Province, Oriental, Morocco, located 12 km north of the City of Nador. It is bordered on the north by the autonomous Spanish city of Melilla. According to the 2004 census Beni Ansar has a population of 31,800, and its area is 20 hectares (0.2 km²).